<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<th:block th:include="include/src :: grid_base_js_and_css"/>
	
	<!-- highlight  -->
	<link rel="stylesheet" href="/static/plugins/highlight/styles/default.min.css" media="all" />
	<script src="/static/plugins/highlight/highlight.min.js" charset="utf-8"></script>
</head>
<body>
	<div style="height: 100%;" id="id_panel_content">
		<pre><code id="id_code_html"></code></pre>
	</div>
	
	<script th:inline="javascript">
    $.ajax({
        type: "POST",
        url: '/api/inter/ysMenu/getFormHTML',
        data: {
        	ids: [[${ids}]]
        },
        success: function (res) {
        	console.log('res---', res);
            if (res.code == 0) {
            	var hljsObj = hljs.highlight(res.data.html, {
					language: 'css'
				});
            	$('#id_code_html').html(hljsObj.value);
            	//$('#id_code_html').html(res.data.html);
            } else {
                alert('加载失败，请检查！');
            }
        }
    });
	</script>
</body>
</html>